package com.scap.dfs.model;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;


/**
 * The persistent class for the TRN_DAILY database table.
 * 
 */
@Entity
@Table(name="TRN_DAILY")
@NamedQuery(name="TrnDaily.findAll", query="SELECT t FROM TrnDaily t")
@org.hibernate.annotations.Entity(
		dynamicUpdate = true
)
public class TrnDaily implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private TrnDailyPK id;

	@Column(name="ACTIVE",columnDefinition="varchar(2)")
	private String active;

	@Column(name="ADMISSION_TYPE_CODE",columnDefinition="varchar(25)")
	private String admissionTypeCode;

	@Column(name="AMOUNT_AFT_DISCOUNT",columnDefinition="numeric(15, 2)")
	private BigDecimal amountAftDiscount;

	@Column(name="AMOUNT_BEF_DISCOUNT",columnDefinition="numeric(15, 2)")
	private BigDecimal amountBefDiscount;

	@Column(name="AMOUNT_BEF_WRITE_OFF",columnDefinition="numeric(15, 2)")
	private BigDecimal amountBefWriteOff;

	@Column(name="AMOUNT_OF_DISCOUNT",columnDefinition="numeric(15, 2)")
	private BigDecimal amountOfDiscount;

	@Column(name="AMT_BEF_PARTIAL",columnDefinition="numeric(15, 2)")
	private BigDecimal amtBefPartial;

	@Column(name="BATCH_NO",columnDefinition="varchar(6)")
	private String batchNo;

	@Column(name="COMPUTE_DAILY_DATE",columnDefinition="varchar(8)")
	private String computeDailyDate;

	@Column(name="COMPUTE_DAILY_TIME",columnDefinition="varchar(8)")
	private String computeDailyTime;

	@Column(name="COMPUTE_DAILY_USER_ID",columnDefinition="varchar(20)")
	private String computeDailyUserId;

	@Column(name="DD",columnDefinition="varchar(8)")
	private String dd;

	@Column(name="DOCTOR_CATEGORY_CODE",columnDefinition="varchar(20)")
	private String doctorCategoryCode;

	@Column(name="DOCTOR_CODE",columnDefinition="varchar(20)")
	private String doctorCode;

	@Column(name="DOCTOR_DEPARTMENT_CODE",columnDefinition="varchar(20)")
	private String doctorDepartmentCode;

	@Column(name="DOCTOR_EXECUTE_CODE",columnDefinition="varchar(20)")
	private String doctorExecuteCode;

	@Column(name="DOCTOR_PRIVATE_CODE",columnDefinition="varchar(20)")
	private String doctorPrivateCode;

	@Column(name="DOCTOR_RESULT_CODE",columnDefinition="varchar(20)")
	private String doctorResultCode;

	@Column(name="DR_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal drAmt;

	@Column(name="DR_AMT_BEF_PARTIAL",columnDefinition="numeric(15, 2)")
	private BigDecimal drAmtBefPartial;

	@Column(name="DR_AMT_BEF_WRITE_OFF",columnDefinition="numeric(15, 2)")
	private BigDecimal drAmtBefWriteOff;

	@Column(name="DR_PREMIUM",columnDefinition="numeric(15, 2)")
	private BigDecimal drPremium;

	@Column(name="DR_PREMIUM_BEF_WRITE_OFF",columnDefinition="numeric(15, 2)")
	private BigDecimal drPremiumBefWriteOff;

	@Column(name="DR_TAX_406_BEF_WRITE_OFF",columnDefinition="numeric(15, 2)")
	private BigDecimal drTax406BefWriteOff;

	@Column(name="DR_TAX_BEF_PARTIAL",columnDefinition="numeric(15, 2)")
	private BigDecimal drTaxBefPartial;

	@Column(name="EPISODE_NO",columnDefinition="varchar(20)")
	private String episodeNo;

	@Column(name="EXCLUDE_TREATMENT",columnDefinition="varchar(20)")
	private String excludeTreatment;

	@Column(name="EXECUTE_DATE",columnDefinition="varchar(8)")
	private String executeDate;

	@Column(name="EXECUTE_TIME",columnDefinition="varchar(6)")
	private String executeTime;

	@Column(name="GUARANTEE_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal guaranteeAmt;

	@Column(name="GUARANTEE_CODE",columnDefinition="varchar(20)")
	private String guaranteeCode;

	@Column(name="GUARANTEE_DATE_TIME",columnDefinition="varchar(20)")
	private String guaranteeDateTime;

	@Column(name="GUARANTEE_DR_CODE",columnDefinition="varchar(20)")
	private String guaranteeDrCode;

	@Column(name="GUARANTEE_NOTE",columnDefinition="varchar(50)")
	private String guaranteeNote;

	@Column(name="GUARANTEE_PAID_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal guaranteePaidAmt;

	@Column(name="GUARANTEE_TERM_MM",columnDefinition="varchar(2)")
	private String guaranteeTermMm;

	@Column(name="GUARANTEE_TERM_YYYY",columnDefinition="varchar(4)")
	private String guaranteeTermYyyy;

	@Column(name="GUARANTEE_TYPE",columnDefinition="varchar(4)")
	private String guaranteeType;

	@Column(name="HN_NO",columnDefinition="varchar(20)")
	private String hnNo;

	@Column(name="HP_AMT_BEF_WRITE_OFF",columnDefinition="numeric(15, 2)")
	private BigDecimal hpAmtBefWriteOff;

	@Column(name="HP_PREMIUM",columnDefinition="numeric(15, 2)")
	private BigDecimal hpPremium;

	@Column(name="HP_PREMIUM_WRITE_OFF",columnDefinition="numeric(15, 2)")
	private BigDecimal hpPremiumWriteOff;

	@Column(name="HP_TAX",columnDefinition="numeric(15, 2)")
	private BigDecimal hpTax;

	@Column(name="INV_IS_VOID",columnDefinition="varchar(2)")
	private String invIsVoid;

	@Column(name="IS_DISCHARGE_SUMMARY",columnDefinition="char(1)")
	private String isDischargeSummary;

	@Column(name="IS_GUARANTEE",columnDefinition="varchar(2)")
	private String isGuarantee;

	@Column(name="IS_GUARANTEE_FROM_ALLOC",columnDefinition="varchar(1)")
	private String isGuaranteeFromAlloc;

	@Column(name="IS_ONWARD",columnDefinition="varchar(1)")
	private String isOnward;

	@Column(name="IS_PAID",columnDefinition="varchar(1)")
	private String isPaid;

	@Column(name="IS_PARTIAL",columnDefinition="varchar(1)")
	private String isPartial;

	@Column(name="IS_WRITE_OFF",columnDefinition="varchar(1)")
	private String isWriteOff;

	@Column(name="MM",columnDefinition="varchar(8)")
	private String mm;

	@Column(name="NATIONALITY_CODE",columnDefinition="varchar(20)")
	private String nationalityCode;

	@Column(name="NATIONALITY_DESCRIPTION",columnDefinition="varchar(255)")
	private String nationalityDescription;

	@Column(name="NOR_ALLOCATE_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal norAllocateAmt;

	@Column(name="NOR_ALLOCATE_PCT",columnDefinition="numeric(15, 2)")
	private BigDecimal norAllocatePct;

	@Column(name="NOTE",columnDefinition="varchar(255)")
	private String note;

	@Column(name="OLD_AMOUNT",columnDefinition="numeric(15, 2)")
	private BigDecimal oldAmount;

	@Column(name="OLD_DOCTOR_CODE",columnDefinition="varchar(20)")
	private String oldDoctorCode;

	@Column(name="OLD_DR_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal oldDrAmt;

	@Column(name="OLD_DR_AMT_BEF_WRITE_OFF",columnDefinition="numeric(15, 2)")
	private BigDecimal oldDrAmtBefWriteOff;

	@Column(name="OLD_TAX_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal oldTaxAmt;

	@Column(name="ORDER_ITEM_ACTIVE",columnDefinition="varchar(1)")
	private String orderItemActive;

	@Column(name="ORDER_ITEM_CATEGORY_CODE",columnDefinition="varchar(20)")
	private String orderItemCategoryCode;

	@Column(name="ORDER_ITEM_CODE",columnDefinition="varchar(20)")
	private String orderItemCode;

	@Column(name="ORDER_ITEM_DESCRIPTION",columnDefinition="varchar(255)")
	private String orderItemDescription;

	@Column(name="PATIENT_DEPARTMENT_CODE",columnDefinition="varchar(20)")
	private String patientDepartmentCode;

	@Column(name="PATIENT_LOCATION_CODE",columnDefinition="varchar(20)")
	private String patientLocationCode;

	@Column(name="PATIENT_NAME",columnDefinition="varchar(255)")
	private String patientName;

	@Column(name="PAY_BY_AR",columnDefinition="varchar(1)")
	private String payByAr;

	@Column(name="PAY_BY_CASH",columnDefinition="varchar(1)")
	private String payByCash;

	@Column(name="PAY_BY_CASH_AR",columnDefinition="varchar(1)")
	private String payByCashAr;

	@Column(name="PAY_BY_DOCTOR",columnDefinition="varchar(1)")
	private String payByDoctor;

	@Column(name="PAY_BY_PAYOR",columnDefinition="varchar(1)")
	private String payByPayor;

	@Column(name="PAYOR_OFFICE_CATEGORY_CODE",columnDefinition="varchar(20)")
	private String payorOfficeCategoryCode;

	@Column(name="PAYOR_OFFICE_CATEGORY_DESCRIPTION",columnDefinition="varchar(255)")
	private String payorOfficeCategoryDescription;

	@Column(name="PAYOR_OFFICE_CODE",columnDefinition="varchar(20)")
	private String payorOfficeCode;

	@Column(name="PAYOR_OFFICE_NAME",columnDefinition="varchar(255)")
	private String payorOfficeName;

	@Column(name="PREMIUM_CHARGE_PCT",columnDefinition="varchar(20)")
	private String premiumChargePct;

	@Column(name="PREMIUM_REC_AMT",columnDefinition="numeric(15, 2)")
	private String premiumRecAmt;

	@Column(name="REC_IS_VOID",columnDefinition="varchar(2)")
	private String recIsVoid;

	@Column(name="RECEIPT_DEPARTMENT_CODE",columnDefinition="varchar(20)")
	private String receiptDepartmentCode;

	@Column(name="RECEIPT_LOCATION_CODE",columnDefinition="varchar(20)")
	private String receiptLocationCode;

	@Column(name="RECEIPT_NO",columnDefinition="varchar(20)")
	private String receiptNo;

	@Column(name="RECEIPT_TYPE_CODE",columnDefinition="varchar(20)")
	private String receiptTypeCode;

	@Column(name="TAX_FROM_ALLOCATE",columnDefinition="varchar(1)")
	private String taxFromAllocate;

	@Column(name="TAX_TYPE_CODE",columnDefinition="varchar(20)")
	private String taxTypeCode;

	@Column(name="TOTAL_BILL_AMOUNT",columnDefinition="numeric(15, 2)")
	private BigDecimal totalBillAmount;

	@Column(name="TOTAL_DR_REC_AMOUNT",columnDefinition="numeric(15, 2)")
	private BigDecimal totalDrRecAmount;

	@Column(name="TRANSACTION_MODULE",columnDefinition="varchar(5)")
	private String transactionModule;

	@Column(name="TRANSACTION_TYPE",columnDefinition="varchar(20)")
	private String transactionType;

	@Column(name="UPDATE_DATE",columnDefinition="varchar(8)")
	private String updateDate;

	@Column(name="UPDATE_TIME",columnDefinition="varchar(6)")
	private String updateTime;

	@Column(name="USER_ID",columnDefinition="varchar(20)")
	private String userId;

	@Column(name="VERIFY_DATE",columnDefinition="varchar(8)")
	private String verifyDate;

	@Column(name="VERIFY_TIME",columnDefinition="varchar(6)")
	private String verifyTime;

	@Column(name="WRITE_OFF_BILL_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal writeOffBillAmt;

	@Column(name="WRITE_OFF_RECEIPT_AMT",columnDefinition="numeric(15, 2)")
	private BigDecimal writeOffReceiptAmt;

	@Column(name="YYYY",columnDefinition="varchar(20)")
	private String yyyy;
	
	@Column(name="BASIC_ALLOCATE_FORMULA_ID", columnDefinition = "varchar(3)")
	private String basicAllocateFormulaId;
	
	@Column(name="HP_AMT",columnDefinition = "numeric(15, 2)")
	private BigDecimal hpAmt;
	
	@Column(name="DOCTOR_TAX_AMT",columnDefinition = "numeric(15, 2)")
	private BigDecimal doctorTaxAmt;

	public TrnDaily() {
	}

	public TrnDailyPK getId() {
		return this.id;
	}

	public void setId(TrnDailyPK id) {
		this.id = id;
	}

	public String getActive() {
		return this.active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	public String getAdmissionTypeCode() {
		return this.admissionTypeCode;
	}

	public void setAdmissionTypeCode(String admissionTypeCode) {
		this.admissionTypeCode = admissionTypeCode;
	}

	public BigDecimal getAmountAftDiscount() {
		return this.amountAftDiscount;
	}

	public void setAmountAftDiscount(BigDecimal amountAftDiscount) {
		this.amountAftDiscount = amountAftDiscount;
	}

	public BigDecimal getAmountBefDiscount() {
		return this.amountBefDiscount;
	}

	public void setAmountBefDiscount(BigDecimal amountBefDiscount) {
		this.amountBefDiscount = amountBefDiscount;
	}

	public BigDecimal getAmountBefWriteOff() {
		return this.amountBefWriteOff;
	}

	public void setAmountBefWriteOff(BigDecimal amountBefWriteOff) {
		this.amountBefWriteOff = amountBefWriteOff;
	}

	public BigDecimal getAmountOfDiscount() {
		return this.amountOfDiscount;
	}

	public void setAmountOfDiscount(BigDecimal amountOfDiscount) {
		this.amountOfDiscount = amountOfDiscount;
	}

	public BigDecimal getAmtBefPartial() {
		return this.amtBefPartial;
	}

	public void setAmtBefPartial(BigDecimal amtBefPartial) {
		this.amtBefPartial = amtBefPartial;
	}

	public String getBatchNo() {
		return this.batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public String getComputeDailyDate() {
		return this.computeDailyDate;
	}

	public void setComputeDailyDate(String computeDailyDate) {
		this.computeDailyDate = computeDailyDate;
	}

	public String getComputeDailyTime() {
		return this.computeDailyTime;
	}

	public void setComputeDailyTime(String computeDailyTime) {
		this.computeDailyTime = computeDailyTime;
	}

	public String getComputeDailyUserId() {
		return this.computeDailyUserId;
	}

	public void setComputeDailyUserId(String computeDailyUserId) {
		this.computeDailyUserId = computeDailyUserId;
	}

	public String getDd() {
		return this.dd;
	}

	public void setDd(String dd) {
		this.dd = dd;
	}

	public String getDoctorCategoryCode() {
		return this.doctorCategoryCode;
	}

	public void setDoctorCategoryCode(String doctorCategoryCode) {
		this.doctorCategoryCode = doctorCategoryCode;
	}

	public String getDoctorCode() {
		return this.doctorCode;
	}

	public void setDoctorCode(String doctorCode) {
		this.doctorCode = doctorCode;
	}

	public String getDoctorDepartmentCode() {
		return this.doctorDepartmentCode;
	}

	public void setDoctorDepartmentCode(String doctorDepartmentCode) {
		this.doctorDepartmentCode = doctorDepartmentCode;
	}

	public String getDoctorExecuteCode() {
		return this.doctorExecuteCode;
	}

	public void setDoctorExecuteCode(String doctorExecuteCode) {
		this.doctorExecuteCode = doctorExecuteCode;
	}

	public String getDoctorPrivateCode() {
		return this.doctorPrivateCode;
	}

	public void setDoctorPrivateCode(String doctorPrivateCode) {
		this.doctorPrivateCode = doctorPrivateCode;
	}

	public String getDoctorResultCode() {
		return this.doctorResultCode;
	}

	public void setDoctorResultCode(String doctorResultCode) {
		this.doctorResultCode = doctorResultCode;
	}

	public BigDecimal getDrAmt() {
		return this.drAmt;
	}

	public void setDrAmt(BigDecimal drAmt) {
		this.drAmt = drAmt;
	}

	public BigDecimal getDrAmtBefPartial() {
		return this.drAmtBefPartial;
	}

	public void setDrAmtBefPartial(BigDecimal drAmtBefPartial) {
		this.drAmtBefPartial = drAmtBefPartial;
	}

	public BigDecimal getDrAmtBefWriteOff() {
		return this.drAmtBefWriteOff;
	}

	public void setDrAmtBefWriteOff(BigDecimal drAmtBefWriteOff) {
		this.drAmtBefWriteOff = drAmtBefWriteOff;
	}

	public BigDecimal getDrPremium() {
		return this.drPremium;
	}

	public void setDrPremium(BigDecimal drPremium) {
		this.drPremium = drPremium;
	}

	public BigDecimal getDrPremiumBefWriteOff() {
		return this.drPremiumBefWriteOff;
	}

	public void setDrPremiumBefWriteOff(BigDecimal drPremiumBefWriteOff) {
		this.drPremiumBefWriteOff = drPremiumBefWriteOff;
	}

	public BigDecimal getDrTax406BefWriteOff() {
		return this.drTax406BefWriteOff;
	}

	public void setDrTax406BefWriteOff(BigDecimal drTax406BefWriteOff) {
		this.drTax406BefWriteOff = drTax406BefWriteOff;
	}

	public BigDecimal getDrTaxBefPartial() {
		return this.drTaxBefPartial;
	}

	public void setDrTaxBefPartial(BigDecimal drTaxBefPartial) {
		this.drTaxBefPartial = drTaxBefPartial;
	}

	public String getEpisodeNo() {
		return this.episodeNo;
	}

	public void setEpisodeNo(String episodeNo) {
		this.episodeNo = episodeNo;
	}

	public String getExcludeTreatment() {
		return this.excludeTreatment;
	}

	public void setExcludeTreatment(String excludeTreatment) {
		this.excludeTreatment = excludeTreatment;
	}

	public String getExecuteDate() {
		return this.executeDate;
	}

	public void setExecuteDate(String executeDate) {
		this.executeDate = executeDate;
	}

	public String getExecuteTime() {
		return this.executeTime;
	}

	public void setExecuteTime(String executeTime) {
		this.executeTime = executeTime;
	}

	public BigDecimal getGuaranteeAmt() {
		return this.guaranteeAmt;
	}

	public void setGuaranteeAmt(BigDecimal guaranteeAmt) {
		this.guaranteeAmt = guaranteeAmt;
	}

	public String getGuaranteeCode() {
		return this.guaranteeCode;
	}

	public void setGuaranteeCode(String guaranteeCode) {
		this.guaranteeCode = guaranteeCode;
	}

	public String getGuaranteeDateTime() {
		return this.guaranteeDateTime;
	}

	public void setGuaranteeDateTime(String guaranteeDateTime) {
		this.guaranteeDateTime = guaranteeDateTime;
	}

	public String getGuaranteeDrCode() {
		return this.guaranteeDrCode;
	}

	public void setGuaranteeDrCode(String guaranteeDrCode) {
		this.guaranteeDrCode = guaranteeDrCode;
	}

	public String getGuaranteeNote() {
		return this.guaranteeNote;
	}

	public void setGuaranteeNote(String guaranteeNote) {
		this.guaranteeNote = guaranteeNote;
	}

	public BigDecimal getGuaranteePaidAmt() {
		return this.guaranteePaidAmt;
	}

	public void setGuaranteePaidAmt(BigDecimal guaranteePaidAmt) {
		this.guaranteePaidAmt = guaranteePaidAmt;
	}

	public String getGuaranteeTermMm() {
		return this.guaranteeTermMm;
	}

	public void setGuaranteeTermMm(String guaranteeTermMm) {
		this.guaranteeTermMm = guaranteeTermMm;
	}

	public String getGuaranteeTermYyyy() {
		return this.guaranteeTermYyyy;
	}

	public void setGuaranteeTermYyyy(String guaranteeTermYyyy) {
		this.guaranteeTermYyyy = guaranteeTermYyyy;
	}

	public String getGuaranteeType() {
		return this.guaranteeType;
	}

	public void setGuaranteeType(String guaranteeType) {
		this.guaranteeType = guaranteeType;
	}

	public String getHnNo() {
		return this.hnNo;
	}

	public void setHnNo(String hnNo) {
		this.hnNo = hnNo;
	}

	public BigDecimal getHpAmtBefWriteOff() {
		return this.hpAmtBefWriteOff;
	}

	public void setHpAmtBefWriteOff(BigDecimal hpAmtBefWriteOff) {
		this.hpAmtBefWriteOff = hpAmtBefWriteOff;
	}

	public BigDecimal getHpPremium() {
		return this.hpPremium;
	}

	public void setHpPremium(BigDecimal hpPremium) {
		this.hpPremium = hpPremium;
	}

	public BigDecimal getHpPremiumWriteOff() {
		return this.hpPremiumWriteOff;
	}

	public void setHpPremiumWriteOff(BigDecimal hpPremiumWriteOff) {
		this.hpPremiumWriteOff = hpPremiumWriteOff;
	}

	public BigDecimal getHpTax() {
		return this.hpTax;
	}

	public void setHpTax(BigDecimal hpTax) {
		this.hpTax = hpTax;
	}

	public String getInvIsVoid() {
		return this.invIsVoid;
	}

	public void setInvIsVoid(String invIsVoid) {
		this.invIsVoid = invIsVoid;
	}

	public String getIsDischargeSummary() {
		return this.isDischargeSummary;
	}

	public void setIsDischargeSummary(String isDischargeSummary) {
		this.isDischargeSummary = isDischargeSummary;
	}

	public String getIsGuarantee() {
		return this.isGuarantee;
	}

	public void setIsGuarantee(String isGuarantee) {
		this.isGuarantee = isGuarantee;
	}

	public String getIsGuaranteeFromAlloc() {
		return this.isGuaranteeFromAlloc;
	}

	public void setIsGuaranteeFromAlloc(String isGuaranteeFromAlloc) {
		this.isGuaranteeFromAlloc = isGuaranteeFromAlloc;
	}

	public String getIsOnward() {
		return this.isOnward;
	}

	public void setIsOnward(String isOnward) {
		this.isOnward = isOnward;
	}

	public String getIsPaid() {
		return this.isPaid;
	}

	public void setIsPaid(String isPaid) {
		this.isPaid = isPaid;
	}

	public String getIsPartial() {
		return this.isPartial;
	}

	public void setIsPartial(String isPartial) {
		this.isPartial = isPartial;
	}

	public String getIsWriteOff() {
		return this.isWriteOff;
	}

	public void setIsWriteOff(String isWriteOff) {
		this.isWriteOff = isWriteOff;
	}

	public String getMm() {
		return this.mm;
	}

	public void setMm(String mm) {
		this.mm = mm;
	}

	public String getNationalityCode() {
		return this.nationalityCode;
	}

	public void setNationalityCode(String nationalityCode) {
		this.nationalityCode = nationalityCode;
	}

	public String getNationalityDescription() {
		return this.nationalityDescription;
	}

	public void setNationalityDescription(String nationalityDescription) {
		this.nationalityDescription = nationalityDescription;
	}

	public BigDecimal getNorAllocateAmt() {
		return this.norAllocateAmt;
	}

	public void setNorAllocateAmt(BigDecimal norAllocateAmt) {
		this.norAllocateAmt = norAllocateAmt;
	}

	public BigDecimal getNorAllocatePct() {
		return this.norAllocatePct;
	}

	public void setNorAllocatePct(BigDecimal norAllocatePct) {
		this.norAllocatePct = norAllocatePct;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public BigDecimal getOldAmount() {
		return this.oldAmount;
	}

	public void setOldAmount(BigDecimal oldAmount) {
		this.oldAmount = oldAmount;
	}

	public String getOldDoctorCode() {
		return this.oldDoctorCode;
	}

	public void setOldDoctorCode(String oldDoctorCode) {
		this.oldDoctorCode = oldDoctorCode;
	}

	public BigDecimal getOldDrAmt() {
		return this.oldDrAmt;
	}

	public void setOldDrAmt(BigDecimal oldDrAmt) {
		this.oldDrAmt = oldDrAmt;
	}

	public BigDecimal getOldDrAmtBefWriteOff() {
		return this.oldDrAmtBefWriteOff;
	}

	public void setOldDrAmtBefWriteOff(BigDecimal oldDrAmtBefWriteOff) {
		this.oldDrAmtBefWriteOff = oldDrAmtBefWriteOff;
	}

	public BigDecimal getOldTaxAmt() {
		return this.oldTaxAmt;
	}

	public void setOldTaxAmt(BigDecimal oldTaxAmt) {
		this.oldTaxAmt = oldTaxAmt;
	}

	public String getOrderItemActive() {
		return this.orderItemActive;
	}

	public void setOrderItemActive(String orderItemActive) {
		this.orderItemActive = orderItemActive;
	}

	public String getOrderItemCategoryCode() {
		return this.orderItemCategoryCode;
	}

	public void setOrderItemCategoryCode(String orderItemCategoryCode) {
		this.orderItemCategoryCode = orderItemCategoryCode;
	}

	public String getOrderItemCode() {
		return this.orderItemCode;
	}

	public void setOrderItemCode(String orderItemCode) {
		this.orderItemCode = orderItemCode;
	}

	public String getOrderItemDescription() {
		return this.orderItemDescription;
	}

	public void setOrderItemDescription(String orderItemDescription) {
		this.orderItemDescription = orderItemDescription;
	}

	public String getPatientDepartmentCode() {
		return this.patientDepartmentCode;
	}

	public void setPatientDepartmentCode(String patientDepartmentCode) {
		this.patientDepartmentCode = patientDepartmentCode;
	}

	public String getPatientLocationCode() {
		return this.patientLocationCode;
	}

	public void setPatientLocationCode(String patientLocationCode) {
		this.patientLocationCode = patientLocationCode;
	}

	public String getPatientName() {
		return this.patientName;
	}

	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}

	public String getPayByAr() {
		return this.payByAr;
	}

	public void setPayByAr(String payByAr) {
		this.payByAr = payByAr;
	}

	public String getPayByCash() {
		return this.payByCash;
	}

	public void setPayByCash(String payByCash) {
		this.payByCash = payByCash;
	}

	public String getPayByCashAr() {
		return this.payByCashAr;
	}

	public void setPayByCashAr(String payByCashAr) {
		this.payByCashAr = payByCashAr;
	}

	public String getPayByDoctor() {
		return this.payByDoctor;
	}

	public void setPayByDoctor(String payByDoctor) {
		this.payByDoctor = payByDoctor;
	}

	public String getPayByPayor() {
		return this.payByPayor;
	}

	public void setPayByPayor(String payByPayor) {
		this.payByPayor = payByPayor;
	}

	public String getPayorOfficeCategoryCode() {
		return this.payorOfficeCategoryCode;
	}

	public void setPayorOfficeCategoryCode(String payorOfficeCategoryCode) {
		this.payorOfficeCategoryCode = payorOfficeCategoryCode;
	}

	public String getPayorOfficeCategoryDescription() {
		return this.payorOfficeCategoryDescription;
	}

	public void setPayorOfficeCategoryDescription(String payorOfficeCategoryDescription) {
		this.payorOfficeCategoryDescription = payorOfficeCategoryDescription;
	}

	public String getPayorOfficeCode() {
		return this.payorOfficeCode;
	}

	public void setPayorOfficeCode(String payorOfficeCode) {
		this.payorOfficeCode = payorOfficeCode;
	}

	public String getPayorOfficeName() {
		return this.payorOfficeName;
	}

	public void setPayorOfficeName(String payorOfficeName) {
		this.payorOfficeName = payorOfficeName;
	}

	public String getPremiumChargePct() {
		return this.premiumChargePct;
	}

	public void setPremiumChargePct(String premiumChargePct) {
		this.premiumChargePct = premiumChargePct;
	}

	public String getPremiumRecAmt() {
		return this.premiumRecAmt;
	}

	public void setPremiumRecAmt(String premiumRecAmt) {
		this.premiumRecAmt = premiumRecAmt;
	}

	public String getRecIsVoid() {
		return this.recIsVoid;
	}

	public void setRecIsVoid(String recIsVoid) {
		this.recIsVoid = recIsVoid;
	}

	public String getReceiptDepartmentCode() {
		return this.receiptDepartmentCode;
	}

	public void setReceiptDepartmentCode(String receiptDepartmentCode) {
		this.receiptDepartmentCode = receiptDepartmentCode;
	}

	public String getReceiptLocationCode() {
		return this.receiptLocationCode;
	}

	public void setReceiptLocationCode(String receiptLocationCode) {
		this.receiptLocationCode = receiptLocationCode;
	}

	public String getReceiptNo() {
		return this.receiptNo;
	}

	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}

	public String getReceiptTypeCode() {
		return this.receiptTypeCode;
	}

	public void setReceiptTypeCode(String receiptTypeCode) {
		this.receiptTypeCode = receiptTypeCode;
	}

	public String getTaxFromAllocate() {
		return this.taxFromAllocate;
	}

	public void setTaxFromAllocate(String taxFromAllocate) {
		this.taxFromAllocate = taxFromAllocate;
	}

	public String getTaxTypeCode() {
		return this.taxTypeCode;
	}

	public void setTaxTypeCode(String taxTypeCode) {
		this.taxTypeCode = taxTypeCode;
	}

	public BigDecimal getTotalBillAmount() {
		return this.totalBillAmount;
	}

	public void setTotalBillAmount(BigDecimal totalBillAmount) {
		this.totalBillAmount = totalBillAmount;
	}

	public BigDecimal getTotalDrRecAmount() {
		return this.totalDrRecAmount;
	}

	public void setTotalDrRecAmount(BigDecimal totalDrRecAmount) {
		this.totalDrRecAmount = totalDrRecAmount;
	}

	public String getTransactionModule() {
		return this.transactionModule;
	}

	public void setTransactionModule(String transactionModule) {
		this.transactionModule = transactionModule;
	}

	public String getTransactionType() {
		return this.transactionType;
	}

	public void setTransactionType(String transactionType) {
		this.transactionType = transactionType;
	}

	public String getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getVerifyDate() {
		return this.verifyDate;
	}

	public void setVerifyDate(String verifyDate) {
		this.verifyDate = verifyDate;
	}

	public String getVerifyTime() {
		return this.verifyTime;
	}

	public void setVerifyTime(String verifyTime) {
		this.verifyTime = verifyTime;
	}

	public BigDecimal getWriteOffBillAmt() {
		return this.writeOffBillAmt;
	}

	public void setWriteOffBillAmt(BigDecimal writeOffBillAmt) {
		this.writeOffBillAmt = writeOffBillAmt;
	}

	public BigDecimal getWriteOffReceiptAmt() {
		return this.writeOffReceiptAmt;
	}

	public void setWriteOffReceiptAmt(BigDecimal writeOffReceiptAmt) {
		this.writeOffReceiptAmt = writeOffReceiptAmt;
	}

	public String getYyyy() {
		return this.yyyy;
	}

	public void setYyyy(String yyyy) {
		this.yyyy = yyyy;
	}

	public String getBasicAllocateFormulaId() {
		return basicAllocateFormulaId;
	}

	public void setBasicAllocateFormulaId(String basicAllocateFormulaId) {
		this.basicAllocateFormulaId = basicAllocateFormulaId;
	}

	public BigDecimal getHpAmt() {
		return hpAmt;
	}

	public void setHpAmt(BigDecimal hpAmt) {
		this.hpAmt = hpAmt;
	}

	public BigDecimal getDoctorTaxAmt() {
		return doctorTaxAmt;
	}

	public void setDoctorTaxAmt(BigDecimal doctorTaxAmt) {
		this.doctorTaxAmt = doctorTaxAmt;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((active == null) ? 0 : active.hashCode());
		result = prime
				* result
				+ ((admissionTypeCode == null) ? 0 : admissionTypeCode
						.hashCode());
		result = prime
				* result
				+ ((amountAftDiscount == null) ? 0 : amountAftDiscount
						.hashCode());
		result = prime
				* result
				+ ((amountBefDiscount == null) ? 0 : amountBefDiscount
						.hashCode());
		result = prime
				* result
				+ ((amountBefWriteOff == null) ? 0 : amountBefWriteOff
						.hashCode());
		result = prime
				* result
				+ ((amountOfDiscount == null) ? 0 : amountOfDiscount.hashCode());
		result = prime * result
				+ ((amtBefPartial == null) ? 0 : amtBefPartial.hashCode());
		result = prime
				* result
				+ ((basicAllocateFormulaId == null) ? 0
						: basicAllocateFormulaId.hashCode());
		result = prime * result + ((batchNo == null) ? 0 : batchNo.hashCode());
		result = prime
				* result
				+ ((computeDailyDate == null) ? 0 : computeDailyDate.hashCode());
		result = prime
				* result
				+ ((computeDailyTime == null) ? 0 : computeDailyTime.hashCode());
		result = prime
				* result
				+ ((computeDailyUserId == null) ? 0 : computeDailyUserId
						.hashCode());
		result = prime * result + ((dd == null) ? 0 : dd.hashCode());
		result = prime
				* result
				+ ((doctorCategoryCode == null) ? 0 : doctorCategoryCode
						.hashCode());
		result = prime * result
				+ ((doctorCode == null) ? 0 : doctorCode.hashCode());
		result = prime
				* result
				+ ((doctorDepartmentCode == null) ? 0 : doctorDepartmentCode
						.hashCode());
		result = prime
				* result
				+ ((doctorExecuteCode == null) ? 0 : doctorExecuteCode
						.hashCode());
		result = prime
				* result
				+ ((doctorPrivateCode == null) ? 0 : doctorPrivateCode
						.hashCode());
		result = prime
				* result
				+ ((doctorResultCode == null) ? 0 : doctorResultCode.hashCode());
		result = prime * result
				+ ((doctorTaxAmt == null) ? 0 : doctorTaxAmt.hashCode());
		result = prime * result + ((drAmt == null) ? 0 : drAmt.hashCode());
		result = prime * result
				+ ((drAmtBefPartial == null) ? 0 : drAmtBefPartial.hashCode());
		result = prime
				* result
				+ ((drAmtBefWriteOff == null) ? 0 : drAmtBefWriteOff.hashCode());
		result = prime * result
				+ ((drPremium == null) ? 0 : drPremium.hashCode());
		result = prime
				* result
				+ ((drPremiumBefWriteOff == null) ? 0 : drPremiumBefWriteOff
						.hashCode());
		result = prime
				* result
				+ ((drTax406BefWriteOff == null) ? 0 : drTax406BefWriteOff
						.hashCode());
		result = prime * result
				+ ((drTaxBefPartial == null) ? 0 : drTaxBefPartial.hashCode());
		result = prime * result
				+ ((episodeNo == null) ? 0 : episodeNo.hashCode());
		result = prime
				* result
				+ ((excludeTreatment == null) ? 0 : excludeTreatment.hashCode());
		result = prime * result
				+ ((executeDate == null) ? 0 : executeDate.hashCode());
		result = prime * result
				+ ((executeTime == null) ? 0 : executeTime.hashCode());
		result = prime * result
				+ ((guaranteeAmt == null) ? 0 : guaranteeAmt.hashCode());
		result = prime * result
				+ ((guaranteeCode == null) ? 0 : guaranteeCode.hashCode());
		result = prime
				* result
				+ ((guaranteeDateTime == null) ? 0 : guaranteeDateTime
						.hashCode());
		result = prime * result
				+ ((guaranteeDrCode == null) ? 0 : guaranteeDrCode.hashCode());
		result = prime * result
				+ ((guaranteeNote == null) ? 0 : guaranteeNote.hashCode());
		result = prime
				* result
				+ ((guaranteePaidAmt == null) ? 0 : guaranteePaidAmt.hashCode());
		result = prime * result
				+ ((guaranteeTermMm == null) ? 0 : guaranteeTermMm.hashCode());
		result = prime
				* result
				+ ((guaranteeTermYyyy == null) ? 0 : guaranteeTermYyyy
						.hashCode());
		result = prime * result
				+ ((guaranteeType == null) ? 0 : guaranteeType.hashCode());
		result = prime * result + ((hnNo == null) ? 0 : hnNo.hashCode());
		result = prime * result + ((hpAmt == null) ? 0 : hpAmt.hashCode());
		result = prime
				* result
				+ ((hpAmtBefWriteOff == null) ? 0 : hpAmtBefWriteOff.hashCode());
		result = prime * result
				+ ((hpPremium == null) ? 0 : hpPremium.hashCode());
		result = prime
				* result
				+ ((hpPremiumWriteOff == null) ? 0 : hpPremiumWriteOff
						.hashCode());
		result = prime * result + ((hpTax == null) ? 0 : hpTax.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((invIsVoid == null) ? 0 : invIsVoid.hashCode());
		result = prime
				* result
				+ ((isDischargeSummary == null) ? 0 : isDischargeSummary
						.hashCode());
		result = prime * result
				+ ((isGuarantee == null) ? 0 : isGuarantee.hashCode());
		result = prime
				* result
				+ ((isGuaranteeFromAlloc == null) ? 0 : isGuaranteeFromAlloc
						.hashCode());
		result = prime * result
				+ ((isOnward == null) ? 0 : isOnward.hashCode());
		result = prime * result + ((isPaid == null) ? 0 : isPaid.hashCode());
		result = prime * result
				+ ((isPartial == null) ? 0 : isPartial.hashCode());
		result = prime * result
				+ ((isWriteOff == null) ? 0 : isWriteOff.hashCode());
		result = prime * result + ((mm == null) ? 0 : mm.hashCode());
		result = prime * result
				+ ((nationalityCode == null) ? 0 : nationalityCode.hashCode());
		result = prime
				* result
				+ ((nationalityDescription == null) ? 0
						: nationalityDescription.hashCode());
		result = prime * result
				+ ((norAllocateAmt == null) ? 0 : norAllocateAmt.hashCode());
		result = prime * result
				+ ((norAllocatePct == null) ? 0 : norAllocatePct.hashCode());
		result = prime * result + ((note == null) ? 0 : note.hashCode());
		result = prime * result
				+ ((oldAmount == null) ? 0 : oldAmount.hashCode());
		result = prime * result
				+ ((oldDoctorCode == null) ? 0 : oldDoctorCode.hashCode());
		result = prime * result
				+ ((oldDrAmt == null) ? 0 : oldDrAmt.hashCode());
		result = prime
				* result
				+ ((oldDrAmtBefWriteOff == null) ? 0 : oldDrAmtBefWriteOff
						.hashCode());
		result = prime * result
				+ ((oldTaxAmt == null) ? 0 : oldTaxAmt.hashCode());
		result = prime * result
				+ ((orderItemActive == null) ? 0 : orderItemActive.hashCode());
		result = prime
				* result
				+ ((orderItemCategoryCode == null) ? 0 : orderItemCategoryCode
						.hashCode());
		result = prime * result
				+ ((orderItemCode == null) ? 0 : orderItemCode.hashCode());
		result = prime
				* result
				+ ((orderItemDescription == null) ? 0 : orderItemDescription
						.hashCode());
		result = prime
				* result
				+ ((patientDepartmentCode == null) ? 0 : patientDepartmentCode
						.hashCode());
		result = prime
				* result
				+ ((patientLocationCode == null) ? 0 : patientLocationCode
						.hashCode());
		result = prime * result
				+ ((patientName == null) ? 0 : patientName.hashCode());
		result = prime * result + ((payByAr == null) ? 0 : payByAr.hashCode());
		result = prime * result
				+ ((payByCash == null) ? 0 : payByCash.hashCode());
		result = prime * result
				+ ((payByCashAr == null) ? 0 : payByCashAr.hashCode());
		result = prime * result
				+ ((payByDoctor == null) ? 0 : payByDoctor.hashCode());
		result = prime * result
				+ ((payByPayor == null) ? 0 : payByPayor.hashCode());
		result = prime
				* result
				+ ((payorOfficeCategoryCode == null) ? 0
						: payorOfficeCategoryCode.hashCode());
		result = prime
				* result
				+ ((payorOfficeCategoryDescription == null) ? 0
						: payorOfficeCategoryDescription.hashCode());
		result = prime * result
				+ ((payorOfficeCode == null) ? 0 : payorOfficeCode.hashCode());
		result = prime * result
				+ ((payorOfficeName == null) ? 0 : payorOfficeName.hashCode());
		result = prime
				* result
				+ ((premiumChargePct == null) ? 0 : premiumChargePct.hashCode());
		result = prime * result
				+ ((premiumRecAmt == null) ? 0 : premiumRecAmt.hashCode());
		result = prime * result
				+ ((recIsVoid == null) ? 0 : recIsVoid.hashCode());
		result = prime
				* result
				+ ((receiptDepartmentCode == null) ? 0 : receiptDepartmentCode
						.hashCode());
		result = prime
				* result
				+ ((receiptLocationCode == null) ? 0 : receiptLocationCode
						.hashCode());
		result = prime * result
				+ ((receiptNo == null) ? 0 : receiptNo.hashCode());
		result = prime * result
				+ ((receiptTypeCode == null) ? 0 : receiptTypeCode.hashCode());
		result = prime * result
				+ ((taxFromAllocate == null) ? 0 : taxFromAllocate.hashCode());
		result = prime * result
				+ ((taxTypeCode == null) ? 0 : taxTypeCode.hashCode());
		result = prime * result
				+ ((totalBillAmount == null) ? 0 : totalBillAmount.hashCode());
		result = prime
				* result
				+ ((totalDrRecAmount == null) ? 0 : totalDrRecAmount.hashCode());
		result = prime
				* result
				+ ((transactionModule == null) ? 0 : transactionModule
						.hashCode());
		result = prime * result
				+ ((transactionType == null) ? 0 : transactionType.hashCode());
		result = prime * result
				+ ((updateDate == null) ? 0 : updateDate.hashCode());
		result = prime * result
				+ ((updateTime == null) ? 0 : updateTime.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		result = prime * result
				+ ((verifyDate == null) ? 0 : verifyDate.hashCode());
		result = prime * result
				+ ((verifyTime == null) ? 0 : verifyTime.hashCode());
		result = prime * result
				+ ((writeOffBillAmt == null) ? 0 : writeOffBillAmt.hashCode());
		result = prime
				* result
				+ ((writeOffReceiptAmt == null) ? 0 : writeOffReceiptAmt
						.hashCode());
		result = prime * result + ((yyyy == null) ? 0 : yyyy.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TrnDaily other = (TrnDaily) obj;
		if (active == null) {
			if (other.active != null)
				return false;
		} else if (!active.equals(other.active))
			return false;
		if (admissionTypeCode == null) {
			if (other.admissionTypeCode != null)
				return false;
		} else if (!admissionTypeCode.equals(other.admissionTypeCode))
			return false;
		if (amountAftDiscount == null) {
			if (other.amountAftDiscount != null)
				return false;
		} else if (!amountAftDiscount.equals(other.amountAftDiscount))
			return false;
		if (amountBefDiscount == null) {
			if (other.amountBefDiscount != null)
				return false;
		} else if (!amountBefDiscount.equals(other.amountBefDiscount))
			return false;
		if (amountBefWriteOff == null) {
			if (other.amountBefWriteOff != null)
				return false;
		} else if (!amountBefWriteOff.equals(other.amountBefWriteOff))
			return false;
		if (amountOfDiscount == null) {
			if (other.amountOfDiscount != null)
				return false;
		} else if (!amountOfDiscount.equals(other.amountOfDiscount))
			return false;
		if (amtBefPartial == null) {
			if (other.amtBefPartial != null)
				return false;
		} else if (!amtBefPartial.equals(other.amtBefPartial))
			return false;
		if (basicAllocateFormulaId == null) {
			if (other.basicAllocateFormulaId != null)
				return false;
		} else if (!basicAllocateFormulaId.equals(other.basicAllocateFormulaId))
			return false;
		if (batchNo == null) {
			if (other.batchNo != null)
				return false;
		} else if (!batchNo.equals(other.batchNo))
			return false;
		if (computeDailyDate == null) {
			if (other.computeDailyDate != null)
				return false;
		} else if (!computeDailyDate.equals(other.computeDailyDate))
			return false;
		if (computeDailyTime == null) {
			if (other.computeDailyTime != null)
				return false;
		} else if (!computeDailyTime.equals(other.computeDailyTime))
			return false;
		if (computeDailyUserId == null) {
			if (other.computeDailyUserId != null)
				return false;
		} else if (!computeDailyUserId.equals(other.computeDailyUserId))
			return false;
		if (dd == null) {
			if (other.dd != null)
				return false;
		} else if (!dd.equals(other.dd))
			return false;
		if (doctorCategoryCode == null) {
			if (other.doctorCategoryCode != null)
				return false;
		} else if (!doctorCategoryCode.equals(other.doctorCategoryCode))
			return false;
		if (doctorCode == null) {
			if (other.doctorCode != null)
				return false;
		} else if (!doctorCode.equals(other.doctorCode))
			return false;
		if (doctorDepartmentCode == null) {
			if (other.doctorDepartmentCode != null)
				return false;
		} else if (!doctorDepartmentCode.equals(other.doctorDepartmentCode))
			return false;
		if (doctorExecuteCode == null) {
			if (other.doctorExecuteCode != null)
				return false;
		} else if (!doctorExecuteCode.equals(other.doctorExecuteCode))
			return false;
		if (doctorPrivateCode == null) {
			if (other.doctorPrivateCode != null)
				return false;
		} else if (!doctorPrivateCode.equals(other.doctorPrivateCode))
			return false;
		if (doctorResultCode == null) {
			if (other.doctorResultCode != null)
				return false;
		} else if (!doctorResultCode.equals(other.doctorResultCode))
			return false;
		if (doctorTaxAmt == null) {
			if (other.doctorTaxAmt != null)
				return false;
		} else if (!doctorTaxAmt.equals(other.doctorTaxAmt))
			return false;
		if (drAmt == null) {
			if (other.drAmt != null)
				return false;
		} else if (!drAmt.equals(other.drAmt))
			return false;
		if (drAmtBefPartial == null) {
			if (other.drAmtBefPartial != null)
				return false;
		} else if (!drAmtBefPartial.equals(other.drAmtBefPartial))
			return false;
		if (drAmtBefWriteOff == null) {
			if (other.drAmtBefWriteOff != null)
				return false;
		} else if (!drAmtBefWriteOff.equals(other.drAmtBefWriteOff))
			return false;
		if (drPremium == null) {
			if (other.drPremium != null)
				return false;
		} else if (!drPremium.equals(other.drPremium))
			return false;
		if (drPremiumBefWriteOff == null) {
			if (other.drPremiumBefWriteOff != null)
				return false;
		} else if (!drPremiumBefWriteOff.equals(other.drPremiumBefWriteOff))
			return false;
		if (drTax406BefWriteOff == null) {
			if (other.drTax406BefWriteOff != null)
				return false;
		} else if (!drTax406BefWriteOff.equals(other.drTax406BefWriteOff))
			return false;
		if (drTaxBefPartial == null) {
			if (other.drTaxBefPartial != null)
				return false;
		} else if (!drTaxBefPartial.equals(other.drTaxBefPartial))
			return false;
		if (episodeNo == null) {
			if (other.episodeNo != null)
				return false;
		} else if (!episodeNo.equals(other.episodeNo))
			return false;
		if (excludeTreatment == null) {
			if (other.excludeTreatment != null)
				return false;
		} else if (!excludeTreatment.equals(other.excludeTreatment))
			return false;
		if (executeDate == null) {
			if (other.executeDate != null)
				return false;
		} else if (!executeDate.equals(other.executeDate))
			return false;
		if (executeTime == null) {
			if (other.executeTime != null)
				return false;
		} else if (!executeTime.equals(other.executeTime))
			return false;
		if (guaranteeAmt == null) {
			if (other.guaranteeAmt != null)
				return false;
		} else if (!guaranteeAmt.equals(other.guaranteeAmt))
			return false;
		if (guaranteeCode == null) {
			if (other.guaranteeCode != null)
				return false;
		} else if (!guaranteeCode.equals(other.guaranteeCode))
			return false;
		if (guaranteeDateTime == null) {
			if (other.guaranteeDateTime != null)
				return false;
		} else if (!guaranteeDateTime.equals(other.guaranteeDateTime))
			return false;
		if (guaranteeDrCode == null) {
			if (other.guaranteeDrCode != null)
				return false;
		} else if (!guaranteeDrCode.equals(other.guaranteeDrCode))
			return false;
		if (guaranteeNote == null) {
			if (other.guaranteeNote != null)
				return false;
		} else if (!guaranteeNote.equals(other.guaranteeNote))
			return false;
		if (guaranteePaidAmt == null) {
			if (other.guaranteePaidAmt != null)
				return false;
		} else if (!guaranteePaidAmt.equals(other.guaranteePaidAmt))
			return false;
		if (guaranteeTermMm == null) {
			if (other.guaranteeTermMm != null)
				return false;
		} else if (!guaranteeTermMm.equals(other.guaranteeTermMm))
			return false;
		if (guaranteeTermYyyy == null) {
			if (other.guaranteeTermYyyy != null)
				return false;
		} else if (!guaranteeTermYyyy.equals(other.guaranteeTermYyyy))
			return false;
		if (guaranteeType == null) {
			if (other.guaranteeType != null)
				return false;
		} else if (!guaranteeType.equals(other.guaranteeType))
			return false;
		if (hnNo == null) {
			if (other.hnNo != null)
				return false;
		} else if (!hnNo.equals(other.hnNo))
			return false;
		if (hpAmt == null) {
			if (other.hpAmt != null)
				return false;
		} else if (!hpAmt.equals(other.hpAmt))
			return false;
		if (hpAmtBefWriteOff == null) {
			if (other.hpAmtBefWriteOff != null)
				return false;
		} else if (!hpAmtBefWriteOff.equals(other.hpAmtBefWriteOff))
			return false;
		if (hpPremium == null) {
			if (other.hpPremium != null)
				return false;
		} else if (!hpPremium.equals(other.hpPremium))
			return false;
		if (hpPremiumWriteOff == null) {
			if (other.hpPremiumWriteOff != null)
				return false;
		} else if (!hpPremiumWriteOff.equals(other.hpPremiumWriteOff))
			return false;
		if (hpTax == null) {
			if (other.hpTax != null)
				return false;
		} else if (!hpTax.equals(other.hpTax))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (invIsVoid == null) {
			if (other.invIsVoid != null)
				return false;
		} else if (!invIsVoid.equals(other.invIsVoid))
			return false;
		if (isDischargeSummary == null) {
			if (other.isDischargeSummary != null)
				return false;
		} else if (!isDischargeSummary.equals(other.isDischargeSummary))
			return false;
		if (isGuarantee == null) {
			if (other.isGuarantee != null)
				return false;
		} else if (!isGuarantee.equals(other.isGuarantee))
			return false;
		if (isGuaranteeFromAlloc == null) {
			if (other.isGuaranteeFromAlloc != null)
				return false;
		} else if (!isGuaranteeFromAlloc.equals(other.isGuaranteeFromAlloc))
			return false;
		if (isOnward == null) {
			if (other.isOnward != null)
				return false;
		} else if (!isOnward.equals(other.isOnward))
			return false;
		if (isPaid == null) {
			if (other.isPaid != null)
				return false;
		} else if (!isPaid.equals(other.isPaid))
			return false;
		if (isPartial == null) {
			if (other.isPartial != null)
				return false;
		} else if (!isPartial.equals(other.isPartial))
			return false;
		if (isWriteOff == null) {
			if (other.isWriteOff != null)
				return false;
		} else if (!isWriteOff.equals(other.isWriteOff))
			return false;
		if (mm == null) {
			if (other.mm != null)
				return false;
		} else if (!mm.equals(other.mm))
			return false;
		if (nationalityCode == null) {
			if (other.nationalityCode != null)
				return false;
		} else if (!nationalityCode.equals(other.nationalityCode))
			return false;
		if (nationalityDescription == null) {
			if (other.nationalityDescription != null)
				return false;
		} else if (!nationalityDescription.equals(other.nationalityDescription))
			return false;
		if (norAllocateAmt == null) {
			if (other.norAllocateAmt != null)
				return false;
		} else if (!norAllocateAmt.equals(other.norAllocateAmt))
			return false;
		if (norAllocatePct == null) {
			if (other.norAllocatePct != null)
				return false;
		} else if (!norAllocatePct.equals(other.norAllocatePct))
			return false;
		if (note == null) {
			if (other.note != null)
				return false;
		} else if (!note.equals(other.note))
			return false;
		if (oldAmount == null) {
			if (other.oldAmount != null)
				return false;
		} else if (!oldAmount.equals(other.oldAmount))
			return false;
		if (oldDoctorCode == null) {
			if (other.oldDoctorCode != null)
				return false;
		} else if (!oldDoctorCode.equals(other.oldDoctorCode))
			return false;
		if (oldDrAmt == null) {
			if (other.oldDrAmt != null)
				return false;
		} else if (!oldDrAmt.equals(other.oldDrAmt))
			return false;
		if (oldDrAmtBefWriteOff == null) {
			if (other.oldDrAmtBefWriteOff != null)
				return false;
		} else if (!oldDrAmtBefWriteOff.equals(other.oldDrAmtBefWriteOff))
			return false;
		if (oldTaxAmt == null) {
			if (other.oldTaxAmt != null)
				return false;
		} else if (!oldTaxAmt.equals(other.oldTaxAmt))
			return false;
		if (orderItemActive == null) {
			if (other.orderItemActive != null)
				return false;
		} else if (!orderItemActive.equals(other.orderItemActive))
			return false;
		if (orderItemCategoryCode == null) {
			if (other.orderItemCategoryCode != null)
				return false;
		} else if (!orderItemCategoryCode.equals(other.orderItemCategoryCode))
			return false;
		if (orderItemCode == null) {
			if (other.orderItemCode != null)
				return false;
		} else if (!orderItemCode.equals(other.orderItemCode))
			return false;
		if (orderItemDescription == null) {
			if (other.orderItemDescription != null)
				return false;
		} else if (!orderItemDescription.equals(other.orderItemDescription))
			return false;
		if (patientDepartmentCode == null) {
			if (other.patientDepartmentCode != null)
				return false;
		} else if (!patientDepartmentCode.equals(other.patientDepartmentCode))
			return false;
		if (patientLocationCode == null) {
			if (other.patientLocationCode != null)
				return false;
		} else if (!patientLocationCode.equals(other.patientLocationCode))
			return false;
		if (patientName == null) {
			if (other.patientName != null)
				return false;
		} else if (!patientName.equals(other.patientName))
			return false;
		if (payByAr == null) {
			if (other.payByAr != null)
				return false;
		} else if (!payByAr.equals(other.payByAr))
			return false;
		if (payByCash == null) {
			if (other.payByCash != null)
				return false;
		} else if (!payByCash.equals(other.payByCash))
			return false;
		if (payByCashAr == null) {
			if (other.payByCashAr != null)
				return false;
		} else if (!payByCashAr.equals(other.payByCashAr))
			return false;
		if (payByDoctor == null) {
			if (other.payByDoctor != null)
				return false;
		} else if (!payByDoctor.equals(other.payByDoctor))
			return false;
		if (payByPayor == null) {
			if (other.payByPayor != null)
				return false;
		} else if (!payByPayor.equals(other.payByPayor))
			return false;
		if (payorOfficeCategoryCode == null) {
			if (other.payorOfficeCategoryCode != null)
				return false;
		} else if (!payorOfficeCategoryCode
				.equals(other.payorOfficeCategoryCode))
			return false;
		if (payorOfficeCategoryDescription == null) {
			if (other.payorOfficeCategoryDescription != null)
				return false;
		} else if (!payorOfficeCategoryDescription
				.equals(other.payorOfficeCategoryDescription))
			return false;
		if (payorOfficeCode == null) {
			if (other.payorOfficeCode != null)
				return false;
		} else if (!payorOfficeCode.equals(other.payorOfficeCode))
			return false;
		if (payorOfficeName == null) {
			if (other.payorOfficeName != null)
				return false;
		} else if (!payorOfficeName.equals(other.payorOfficeName))
			return false;
		if (premiumChargePct == null) {
			if (other.premiumChargePct != null)
				return false;
		} else if (!premiumChargePct.equals(other.premiumChargePct))
			return false;
		if (premiumRecAmt == null) {
			if (other.premiumRecAmt != null)
				return false;
		} else if (!premiumRecAmt.equals(other.premiumRecAmt))
			return false;
		if (recIsVoid == null) {
			if (other.recIsVoid != null)
				return false;
		} else if (!recIsVoid.equals(other.recIsVoid))
			return false;
		if (receiptDepartmentCode == null) {
			if (other.receiptDepartmentCode != null)
				return false;
		} else if (!receiptDepartmentCode.equals(other.receiptDepartmentCode))
			return false;
		if (receiptLocationCode == null) {
			if (other.receiptLocationCode != null)
				return false;
		} else if (!receiptLocationCode.equals(other.receiptLocationCode))
			return false;
		if (receiptNo == null) {
			if (other.receiptNo != null)
				return false;
		} else if (!receiptNo.equals(other.receiptNo))
			return false;
		if (receiptTypeCode == null) {
			if (other.receiptTypeCode != null)
				return false;
		} else if (!receiptTypeCode.equals(other.receiptTypeCode))
			return false;
		if (taxFromAllocate == null) {
			if (other.taxFromAllocate != null)
				return false;
		} else if (!taxFromAllocate.equals(other.taxFromAllocate))
			return false;
		if (taxTypeCode == null) {
			if (other.taxTypeCode != null)
				return false;
		} else if (!taxTypeCode.equals(other.taxTypeCode))
			return false;
		if (totalBillAmount == null) {
			if (other.totalBillAmount != null)
				return false;
		} else if (!totalBillAmount.equals(other.totalBillAmount))
			return false;
		if (totalDrRecAmount == null) {
			if (other.totalDrRecAmount != null)
				return false;
		} else if (!totalDrRecAmount.equals(other.totalDrRecAmount))
			return false;
		if (transactionModule == null) {
			if (other.transactionModule != null)
				return false;
		} else if (!transactionModule.equals(other.transactionModule))
			return false;
		if (transactionType == null) {
			if (other.transactionType != null)
				return false;
		} else if (!transactionType.equals(other.transactionType))
			return false;
		if (updateDate == null) {
			if (other.updateDate != null)
				return false;
		} else if (!updateDate.equals(other.updateDate))
			return false;
		if (updateTime == null) {
			if (other.updateTime != null)
				return false;
		} else if (!updateTime.equals(other.updateTime))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		if (verifyDate == null) {
			if (other.verifyDate != null)
				return false;
		} else if (!verifyDate.equals(other.verifyDate))
			return false;
		if (verifyTime == null) {
			if (other.verifyTime != null)
				return false;
		} else if (!verifyTime.equals(other.verifyTime))
			return false;
		if (writeOffBillAmt == null) {
			if (other.writeOffBillAmt != null)
				return false;
		} else if (!writeOffBillAmt.equals(other.writeOffBillAmt))
			return false;
		if (writeOffReceiptAmt == null) {
			if (other.writeOffReceiptAmt != null)
				return false;
		} else if (!writeOffReceiptAmt.equals(other.writeOffReceiptAmt))
			return false;
		if (yyyy == null) {
			if (other.yyyy != null)
				return false;
		} else if (!yyyy.equals(other.yyyy))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "TrnDaily [id=" + id + ", active=" + active
				+ ", admissionTypeCode=" + admissionTypeCode
				+ ", amountAftDiscount=" + amountAftDiscount
				+ ", amountBefDiscount=" + amountBefDiscount
				+ ", amountBefWriteOff=" + amountBefWriteOff
				+ ", amountOfDiscount=" + amountOfDiscount + ", amtBefPartial="
				+ amtBefPartial + ", batchNo=" + batchNo
				+ ", computeDailyDate=" + computeDailyDate
				+ ", computeDailyTime=" + computeDailyTime
				+ ", computeDailyUserId=" + computeDailyUserId + ", dd=" + dd
				+ ", doctorCategoryCode=" + doctorCategoryCode
				+ ", doctorCode=" + doctorCode + ", doctorDepartmentCode="
				+ doctorDepartmentCode + ", doctorExecuteCode="
				+ doctorExecuteCode + ", doctorPrivateCode="
				+ doctorPrivateCode + ", doctorResultCode=" + doctorResultCode
				+ ", drAmt=" + drAmt + ", drAmtBefPartial=" + drAmtBefPartial
				+ ", drAmtBefWriteOff=" + drAmtBefWriteOff + ", drPremium="
				+ drPremium + ", drPremiumBefWriteOff=" + drPremiumBefWriteOff
				+ ", drTax406BefWriteOff=" + drTax406BefWriteOff
				+ ", drTaxBefPartial=" + drTaxBefPartial + ", episodeNo="
				+ episodeNo + ", excludeTreatment=" + excludeTreatment
				+ ", executeDate=" + executeDate + ", executeTime="
				+ executeTime + ", guaranteeAmt=" + guaranteeAmt
				+ ", guaranteeCode=" + guaranteeCode + ", guaranteeDateTime="
				+ guaranteeDateTime + ", guaranteeDrCode=" + guaranteeDrCode
				+ ", guaranteeNote=" + guaranteeNote + ", guaranteePaidAmt="
				+ guaranteePaidAmt + ", guaranteeTermMm=" + guaranteeTermMm
				+ ", guaranteeTermYyyy=" + guaranteeTermYyyy
				+ ", guaranteeType=" + guaranteeType + ", hnNo=" + hnNo
				+ ", hpAmtBefWriteOff=" + hpAmtBefWriteOff + ", hpPremium="
				+ hpPremium + ", hpPremiumWriteOff=" + hpPremiumWriteOff
				+ ", hpTax=" + hpTax + ", invIsVoid=" + invIsVoid
				+ ", isDischargeSummary=" + isDischargeSummary
				+ ", isGuarantee=" + isGuarantee + ", isGuaranteeFromAlloc="
				+ isGuaranteeFromAlloc + ", isOnward=" + isOnward + ", isPaid="
				+ isPaid + ", isPartial=" + isPartial + ", isWriteOff="
				+ isWriteOff + ", mm=" + mm + ", nationalityCode="
				+ nationalityCode + ", nationalityDescription="
				+ nationalityDescription + ", norAllocateAmt=" + norAllocateAmt
				+ ", norAllocatePct=" + norAllocatePct + ", note=" + note
				+ ", oldAmount=" + oldAmount + ", oldDoctorCode="
				+ oldDoctorCode + ", oldDrAmt=" + oldDrAmt
				+ ", oldDrAmtBefWriteOff=" + oldDrAmtBefWriteOff
				+ ", oldTaxAmt=" + oldTaxAmt + ", orderItemActive="
				+ orderItemActive + ", orderItemCategoryCode="
				+ orderItemCategoryCode + ", orderItemCode=" + orderItemCode
				+ ", orderItemDescription=" + orderItemDescription
				+ ", patientDepartmentCode=" + patientDepartmentCode
				+ ", patientLocationCode=" + patientLocationCode
				+ ", patientName=" + patientName + ", payByAr=" + payByAr
				+ ", payByCash=" + payByCash + ", payByCashAr=" + payByCashAr
				+ ", payByDoctor=" + payByDoctor + ", payByPayor=" + payByPayor
				+ ", payorOfficeCategoryCode=" + payorOfficeCategoryCode
				+ ", payorOfficeCategoryDescription="
				+ payorOfficeCategoryDescription + ", payorOfficeCode="
				+ payorOfficeCode + ", payorOfficeName=" + payorOfficeName
				+ ", premiumChargePct=" + premiumChargePct + ", premiumRecAmt="
				+ premiumRecAmt + ", recIsVoid=" + recIsVoid
				+ ", receiptDepartmentCode=" + receiptDepartmentCode
				+ ", receiptLocationCode=" + receiptLocationCode
				+ ", receiptNo=" + receiptNo + ", receiptTypeCode="
				+ receiptTypeCode + ", taxFromAllocate=" + taxFromAllocate
				+ ", taxTypeCode=" + taxTypeCode + ", totalBillAmount="
				+ totalBillAmount + ", totalDrRecAmount=" + totalDrRecAmount
				+ ", transactionModule=" + transactionModule
				+ ", transactionType=" + transactionType + ", updateDate="
				+ updateDate + ", updateTime=" + updateTime + ", userId="
				+ userId + ", verifyDate=" + verifyDate + ", verifyTime="
				+ verifyTime + ", writeOffBillAmt=" + writeOffBillAmt
				+ ", writeOffReceiptAmt=" + writeOffReceiptAmt + ", yyyy="
				+ yyyy + ", basicAllocateFormulaId=" + basicAllocateFormulaId
				+ ", hpAmt=" + hpAmt + ", doctorTaxAmt=" + doctorTaxAmt + "]";
	}

	
	

}